<div id="header-inner">
<input onclick ="redirectStr('markers/addmarker')" type="button" class="button" value="<?php echo $this->translate('Add marker'); ?>"/>
<input onclick ="redirectStr('markers/xml')"type="button" class="button" value="<?php echo $this->translate('Show markers on map'); ?>"/>
</div>
<div class="content">   
<table border="1">
    <tr>
        <td>ID</td>
        <td><?php echo $this->translate('Name'); ?></td>
        <td><?php echo $this->translate('Category'); ?></td>
    </tr>
    
<?php foreach($this->all as $arr) : ?>
    <tr>  
        <td> 
            <?php echo $arr['id'];  ?>
        </td>
        
        <td>
            <?php echo $arr['name']; ?>              
        </td>
        
        <td>
            <?php echo $arr['type']; ?>         
        </td>
        
        <td>            
           <?php echo "<a href=".$this->url(array(
                                     'controller' => 'markers',
                                     'action'     => 'deletemarker',
                                     'id'         => $arr['id']  
                                 )).">".$this->translate('Delete')."</a>" ?>
        </td>
        <td>            
           <?php echo "<a href=".$this->url(array(
                                     'controller' => 'markers',
                                     'action'     => 'updatemarker',
                                     'id'         => $arr['id']
                                 )).">".$this->translate('Update')."</a>" ?>
        </td>
    </tr>
<?php endforeach; ?>    
</table>
</div>